﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using MAF.Common;
using Domain.Entities;
using Domain;
using Business;
using MAF.CRUD;
using System.Collections.Specialized;


namespace Web.Controller
{
    public class ArticleHandler : BaseHandler<Content>
    {
        public string Module = null;

        protected override ICRUD<Content> GetService()
        {
            if( string.IsNullOrEmpty(Module) )
                Module = HttpContext.Current.Request["Module"];
            return BusinessFactory.CreateArticle(Module);
        }
    }
}
